package Tests;

import system.BlogSystem;

public class UserStoryFacade11 {
	private BlogSystem system = BlogSystem.getInstance();

	public void loadData(){

	}

	public String logon(String login, String senha) throws Exception {
		return system.login(login, senha);

	}

	public String createBlog(String sessionId, String title, String description) throws Exception{
		return system.createBlog(sessionId, title, description);
	}

	public String createPost(String sessionId, String blogId, String title,
			String text) throws Exception {
		return system.createPost(sessionId, blogId, title, text);

	}

	public String getNumberOfPosts(String blogId)throws Exception{
		return String.valueOf(system.getNumberOfPosts(blogId));
	}

	public void deleteProfile(String sessionId) throws Exception{
		system.deleteProfile(sessionId);
	}
	public void saveData(){
	
	}
}
